package com.fang;

import ch.qos.logback.classic.LoggerContext;
import ch.qos.logback.core.util.StatusPrinter;
import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class LogBackTest {
    public static void main(String[] args) {
        Logger logger = LoggerFactory.getLogger(LogBackTest.class);
        logger.debug("debug...");

        LoggerContext iLoggerFactory = (LoggerContext) LoggerFactory.getILoggerFactory();
        StatusPrinter.print(iLoggerFactory);

    }
}
